<script type="text/javascript">
  alert("This is alert");
  document.write("This is message written by Javascript");
  confirm("Are you sure, you want to learn JS ??");
  console.log("Check this message after press F12 Key in console");
</script>
